<?php echo $header; ?><?php echo $column_left; ?><?php echo $column_right; ?>
<div id="content"><?php echo $content_top; ?>
  <div class="breadcrumb">
    <?php foreach ($breadcrumbs as $breadcrumb) { ?>
    <?php echo $breadcrumb['separator']; ?><a href="<?php echo $breadcrumb['href']; ?>"><?php echo $breadcrumb['text']; ?></a>
    <?php } ?>
  </div>
  <h1><?php echo $heading_title; ?></h1>
  <?php if ($orders) { ?>
    <table class="table table-hover table-striped table-bordered">
        <thead>
        <tr>
            <th><?php echo $text_order_id;?></th>
            <th><?php echo $column_name;?></th>
            <th><?php echo $text_date_added;?></th>
            <th><?php echo $column_status;?></th>
            <th><?php echo $column_price;?></th>
            <th><?php echo $column_action;?></th>
        </tr>
        </thead>
        <tbody>
        <?php foreach ($orders as $order) { ?>
        <tr>
            <td>#<?php echo $order['order_id']; ?></td>
            <td>
                <?php foreach($order['product'] as $product){ ?>
                -<?php echo $product['name'];?><br/>
                <?php } ?>
                <?php foreach($order['vpc_array'] as $vpc){ ?>
                -<?php echo $text_item_vpc;?><br/>
                <?php } ?>
                <?php foreach($order['eip_array'] as $eip){ ?>
                -<?php echo $text_item_eip;?><br/>
                <?php } ?>
            </td>
            <td class="time"><?php echo $order['date_added']; ?></td>
            <td><?php echo $order['deploy_status'];?></td>
            <td><?php echo $order['hour_total']; ?> （<?php echo $order['month_total']; ?>）</td>
            <td><a href="<?php echo $order['href']; ?>" ><?php echo $button_view;?> </a><a href="<?php echo $order['reorder']; ?>"><img src="catalog/view/theme/denzi/image/reorder.png" alt="<?php echo $button_reorder; ?>" title="<?php echo $button_reorder; ?>" /></a></td>
        </tr>
        <?php } ?>
        </tbody>
    </table>

  <div class="pagination"><?php echo $pagination; ?></div>
  <?php } else { ?>
  <div class="content"><?php echo $text_empty; ?></div>
  <?php } ?>
  <div class="buttons">
    <div class="right"><a href="<?php echo $continue; ?>" class="button"><?php echo $button_continue; ?></a></div>
  </div>
  <?php echo $content_bottom; ?></div>
<?php echo $footer; ?>
